package com.gg.fmallspringboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gg.fmallspringboot.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 购物车mapper
 */
@Mapper
public interface CarMapper extends BaseMapper<ShoppingCart> {
    List<ShoppingCart> selectShop();

    List<ShoppingCart> getOrderCar(@Param("carIds") List<String> carIds, @Param("userId") Integer userId);
}
